http://step2.dev/ru/blog/378-git-rename-master-to-main
Как Переименовать Ветку "Master" В "Main" В Git